package com.example.flower_shop.vo.user;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

@Data
@Schema(description = "用户响应对象")
public class UserRespVO {
    /**
     * 用户id
     */
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    @Schema(description = "用户ID", example = "1")
    private Long id;

    /**
     * 姓名
     */
    @Schema(description = "用户昵称", example = "张三")
    private String nickname;

    /**
     * 年龄
     */
    @Schema(description = "用户年龄", example = "25")
    private Integer age;

    /**
     * 性别 男 1 女2 不详3
     */
    @Schema(description = "用户性别: 1-男, 2-女, 3-不详", example = "1")
    private Integer gender;

    /**
     * 完整地址
     */
    @Schema(description = "用户完整地址", example = "天汇路123号")
    private String address;

    /**
     * 头像
     */
    @Schema(description = "用户头像", example = "base64")
    private String avatar;

    /**
     * 手机
     */
    @Schema(description = "用户手机号码", example = "13800000000")
    private String phone;

    @Schema(description = "用户邮箱", example = "123456789@qq.com")
    private String email;

    /**
     * 备注
     */
    @Schema(description = "用户备注", example = "这是一个备注")
    private String remark;

    /**
     * 状态 1 正常 0 停用
     */
    @Schema(description = "用户状态: 1-正常, 0-停用", example = "1")
    private Boolean status;

    @Schema(description = "是否是VIP用户", example = "true")
    private Boolean vip;
}
